package com.sharedprint.system.user.mapper;

import java.util.List;
import java.util.Map;

import com.sharedprint.system.user.pojo.UserInfo;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    /**
             * 获取条数
     * @param searchMap
     * @return
     */
	int findCount(Map<String, Object> searchMap);

	/**
	 * 获取列表
	 * @param searchMap
	 * @return
	 */
	List<Map<String, Object>> findUserList(Map<String, Object> searchMap);
}